package com.ss.spider.system.role.mapper;

import com.ss.mapper.CWMapper;
import com.ss.spider.system.role.model.RoleResource;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface RoleResourceMapper extends CWMapper<RoleResource> {

    int total(Map<String, Object> paramMap);

    List<RoleResource> list(RoleResource paramRoleResource);

    int save(RoleResource paramRoleResource);

    int batchSave(List<RoleResource> paramList);

    int remove(Map<String, Object> paramMap);

}
